﻿using System.Configuration;

namespace Altairis.Nemesis.Gallery.Configuration {

    public class TemplatesElement : ConfigurationElement {

        [ConfigurationProperty("directoryListing", IsRequired = false, DefaultValue = "~/App_Data/Templates/Default/DirectoryListing.xsl")]
        public string DirectoryListing {
            get { return (string)this["directoryListing"]; }
            set { this["directoryListing"] = value; }
        }

        [ConfigurationProperty("infoPage", IsRequired = false, DefaultValue = "~/App_Data/Templates/Default/InfoPage.xsl")]
        public string InfoPage {
            get { return (string)this["infoPage"]; }
            set { this["infoPage"] = value; }
        }

    }

}
